let materials = {
    namespaced: true,
    state:{
        projectName: "",          // 材料出库 --- 项目标段工点数据
		projectSiteId: "",        // 设备出库 --- 选择项目时的 工点id
		materialsComeList:[],
		materialsGoBackSubmitItem:{} , // 材料归还=》归还页面跳转
		goBackSubmitList:[] , // 
		goBackDetailItem:{} , // 材料查看详情=》查看详情
		goBackInfoItem:{} , // 材料待归还=》查看详情
		inventoryMovementCheckList:[],  //设别库存 =》设备清单
    },
    mutations:{
		getProjectName(state,value){
			state.projectName = value
		},
		getProjectSiteId(state,value){
			state.projectSiteId = value
		},
		getMaterialsComeList(state,value){
			state.materialsComeList=value
		},
		getMaterialsGoBackSubmitItem(state,value){
			state.materialsGoBackSubmitItem=value
		},
		setGoBackSubmitList(state,value){
			state.goBackSubmitList=value
		},
		setGoBackDetailItem(state,value){
			state.goBackDetailItem=value
		},
		//设置待归还  卡片点击详情
		setGoBackInfoItem(state,value){
			state.goBackInfoItem=value
		},
		//设别库存
		setInventoryMovementCheckList(state,value){
			state.inventoryMovementCheckList=value
		}
    },
	
    actions:{

    }
}
export default materials